package com.happystudy.serviceImpl;


import com.happpystudy.model.University;
import com.happpystudy.service.UniversityService;

import com.happystudy.mapper.UniversityMapper;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import javax.annotation.Resource;

@Service
public class UniversityServiceImpl implements UniversityService {

    @Autowired
    UniversityMapper universityMapper;

    @Override
    public University getUniversityIdByName(String uniName) {
        return universityMapper.selectByUniversityName(uniName);
    }
}
